return Class {
	_name = "Order",
	
	init = function (self, name, func)
		self.name = name
		self.func = func
	end,
	
	execute = function (self)
		self.aim = {Game.cursor:get_position()}
		self.target = Game.upool:get_selected()
		if not self.target or not self.aim then return end
		--if not self.target.can_move then return end
		self.func(self.target, self.aim)
	end,
}
